//
//  NAuthFirstStepViewController.m
//  nncloud
//
//  Created by macfai on 2018/11/14.
//  Copyright © 2018 macfai. All rights reserved.
//

#import "NAuthFirstStepViewController.h"
#import "NFillDataViewController.h"
#import "NPersonalFillDataVC.h"
@interface NAuthFirstStepViewController ()

@property (weak, nonatomic) IBOutlet UIButton *startAuth;


@end

@implementation NAuthFirstStepViewController

- (void)viewDidLoad {
    
    [super viewDidLoad];
    self.view.backgroundColor = kWhiteColor;
    [self.navigationItem setItemWithTitle:@"认证" textColor:kNavigationTitleColor fontSize:18 itemType:center];
    self.startAuth.layer.cornerRadius = 5.f;
    self.startAuth.layer.masksToBounds = YES;
    self.startAuth.backgroundColor = ThemeBlue;
    // Do any additional setup after loading the view from its nib.
    
}

///继续认证
- (IBAction)kkk:(id)sender {
    
    //从这里开始区分个人认证和企业认证
    if ([[NUserModel shareInstance].userInfoType isEqualToString:@"1"]) {
        NFillDataViewController *data = [NFillDataViewController new];
        data.hidesBottomBarWhenPushed = YES;
        [self.navigationController pushViewController:data animated:YES];
    }else{
        NPersonalFillDataVC *data = [NPersonalFillDataVC new];
        data.hidesBottomBarWhenPushed = YES;
        [self.navigationController pushViewController:data animated:YES];
    }
    

    
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
